package com.yunhai.support.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.yunhai.common.dto.PaginationVo;
import com.yunhai.support.entity.PhoneVoiceMessage;
import com.yunhai.support.entity.vo.VoiceMessageVo;

import java.util.List;

public interface AliVoiceMessageService {
    public void sendVoiceNotification(String phone,
                                      String serialNumebr,
                                      String name,
                                      String strength,
                                      String energy,
                                      Integer balance,
                                      Integer repeatCount) throws Exception;

    public IPage getVoiceMessagePagination(PaginationVo paginationVo, VoiceMessageVo voiceMessageVo) throws Exception;

    public List<PhoneVoiceMessage> getVoiceMessageList() throws Exception;

    void sendElectricVoiceNotification(String phone,
                                       String serialNumber,
                                       String name,
                                       Integer type,
                                       Integer repeatCount) throws Exception;
}
